//package com.sl.boot.admindemo.commmon.interceptor;
//
//import com.sl.boot.admindemo.domain.role.user.service.UserService;
//import com.sl.boot.admindemo.commmon.utils.RedisUtil;
//import org.springframework.web.servlet.HandlerInterceptor;
//
//import javax.annotation.Resource;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//
///**
// * 验证用户token
// *
// * time: 2022/6/18 22:36
// */
//public class AuthInterceptor implements HandlerInterceptor {
//
//    @Resource
//    RedisUtil redisUtil;
//
//    @Resource
//    UserService userService;
//
//    @Override
//    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
//
//        String token = request.getHeader("token");
////        if(){
////
////        }
//        return HandlerInterceptor.super.preHandle(request, response, handler);
//    }
//}
